package com.jjh.mapper;

import com.jjh.pojo.Order;
import com.jjh.pojo.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface OrderMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Order record);

    Order selectByPrimaryKey(Integer id);

    List<Order> selectAll();

    int updateByPrimaryKey(Order record);

    List<Order> getByCondition(Map<String, Object> conditions);

    Order getByOrderId(Long orderId);
}